package com.ruoyi.merchant.service.impl;

import com.ruoyi.common.core.cg.pojo.IdCardOcr;
import com.ruoyi.merchant.mapper.IdCardOcrMapper;
import com.ruoyi.merchant.service.IdCardOcrService;
import com.ruoyi.merchant.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author ？？？
* @description 针对表【id_card_ocr】的数据库操作Service实现
* @createDate 2025-03-10 22:08:37
*/
@Service
public class IdCardOcrServiceImpl
    implements IdCardOcrService {
    @Autowired
    private IdCardOcrMapper idCardOcrMapper;
    @Override
    public Result idCardOcrSave(IdCardOcr idCardOcr) {
        int ocrSave = idCardOcrMapper.idCardOcrSave(idCardOcr);
        return ocrSave>0? Result.ok():Result.error("添加失败");
    }
}




